﻿using MediatR;
using SuYuanRabbit.ErrorCode;
using SuYuanRabbit.ReadAPI.Dtos.Response;

namespace SuYuanRabbit.ReadAPI.Applications.Commands.Login
{
    /// <summary>
    /// 登录命令处理
    /// </summary>
    public class LoginCommandHander : IRequest<ApiResult<UserDto>>
    {
        /// <summary>
        /// 账号
        /// </summary>
        public string Account { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
    }
}
